import random

def generate_test_data(n=100, min_val=-100, max_val=100):
    """生成指定数量的随机整数列表作为测试数据"""
    return [random.randint(min_val, max_val) for _ in range(n)]

if __name__ == "__main__":
    data = generate_test_data()
    print(f"生成的测试数据: {data}")